<div ng-controller="LogPushCtrl">
<div class="bg-light lter b-b wrapper-md">
	<h1 class="m-n font-thin h3">Log Push
		<button class="btn w-xs btn-danger pull-right" style="padding: 3px 12px;" ng-click="creatlog()">Create&nbsp;&nbsp;Log</button>
	</h1>	
</div>
<div class="wrapper-md">

	<tabset class="tab-container" style="min-height: 460px"> 
		<tab><tab-heading class="h4"> All Logs<span class="badge badge-sm m-l-xs">{{logsize}}</span> </tab-heading>
			<ul class="list-group no-borders pull-in m-b-none">
				<li class="list-group-item" ng-repeat="msg in logs" style="padding: 3px 15px;">
					<span class="text-{{msg.datas.msglevel}}">{{msg.datas.msgdate}}&nbsp;&nbsp;&nbsp;&nbsp;
					{{msg.datas.msgurl}}</span></br>{{msg.i18nMessage}}</br>{{msg.datas.msgex}}         
				</li>
			</ul>
		</tab> 
		<tab> <tab-heading class="h4"> Error level <span class="badge bg-danger badge-sm m-l-xs">{{errorlogsize}}</span> </tab-heading>
			<ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
				<li class="list-group-item" ng-repeat="msg in errorlogs" style="padding: 3px 15px;">
					<span class="text-{{msg.datas.msglevel}}">{{msg.datas.msgdate}}&nbsp;&nbsp;&nbsp;&nbsp;
					{{msg.datas.msgurl}}</span></br>{{msg.i18nMessage}}</br>{{msg.datas.msgex}}         
				</li>
			</ul>
		</tab> 
		<tab> <tab-heading class="h4"> Debug level <span class="badge bg-primary badge-sm m-l-xs">{{debuglogsize}}</span></tab-heading>
			<ul class="list-group list-group-lg no-borders pull-in m-b-none">
				<li class="list-group-item" ng-repeat="msg in debuglogs" style="padding: 3px 15px;">
					<span class="text-{{msg.datas.msglevel}}">{{msg.datas.msgdate}}&nbsp;&nbsp;&nbsp;&nbsp;
					{{msg.datas.msgurl}}</span></br>{{msg.i18nMessage}}</br>{{msg.datas.msgex}}         
				</li>
			</ul>
		</tab> 
	</tabset>
</div></div>